#!/bin/bash

gcc KeyGen.c -o KeyGen -lcrypto
./KeyGen

gcc EncryptFinal.c -o EncryptFinal -lcrypto
./EncryptFinal test.pdf rsakey_pub.pem cipher.pdf

gcc DecryptFinal.c -o DecryptFinal -lcrypto
./DecryptFinal cipher.pdf rsakey_pri.pem test2.pdf

